#include "ros/ros.h"
#include "geometry_msgs/PoseStamped.h"

void callback(const geometry_msgs::PoseStamped PoseStamped)
{

}
int main(int argc, char *argv[])
{
    ros::init(argc, argv, "sub_move_goal");
    ros::NodeHandle nh;
    ros::Subscriber sub = nh.subscribe<geometry_msgs::PoseStamped>("/move_base_simple/goal", 100, callback);
    while(ros::ok())
    {

        ros::spinOnce();
    }

    return 0;
}
